home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
ezzcomm.zip
/
ADDPHONE.T
< prev
next >
Wrap
Text File
|
1991-02-16
|
4KB
|
62 lines
: EZ-ZCOMM Copyright 1991 by Roger E. Hough, All Rights Reserved.
: Licensed for use at your own risk without fee. Altered versions,
: when distributed, must be clearly marked as altered and accompanied
: by the originals.
if r nolog close
lput "\E[0m\E[2J\E[37;44mCreate New Phone Directory Entry\E[0m\r\n"
addname:
set s1 "" while "%s1<3||%s1>6||Cs1||Js1,/.~ ;,@*?+\\#.<>|^{}[]" acceptl s1 "New name for CALL(3-6 chars): "
ife !%s1 goback addname;p?0 find "\n%s1" %phones;if ? lput "%s1 already exists.\r\n"; goback addname
lput "\r\nUse '\045l-' rather than '1-' as the dialing prefix for numbers outside of your"
lput "\r\narea code. This is a percent sign followed by a lowercase letter 'L', and not"
lput "\r\nthe digit '1'. Use '\045m-' for long distance numbers within your area code."
lput "\r\nIf more than one number is to be called for this entry, separate the telephone"
lput "\r\nnumbers with plus signs(+).\r\n"
lput "\r\nBy convention, a BBS with an error correcting modem will pause for 6 to 12"
lput "\r\nseconds before the first characters from the BBS appear, awaiting MNP or V.42"
lput "\r\nlink requests. Requesting error correction when the modem being called does"
lput "\r\nnot have error correction available will cause most forms of bulletin board"
lput "\r\nsoftware to malfunction. Modems with speeds of 9600bps or more can safely be"
lput "\r\nassumed to be capable of accepting a request for an error correcting link. If"
lput "\r\na 9600bps connection occurred, or if there was a 6 to 12 second pause when"
lput "\r\nfirst connecting, indicate that the telephone number is MNP or V.42 capable by"
lput "\r\nadding '.m' after the phone number(e.g. '\045l-914-297-3008.m+\045l-914-297-0665.m')."
lput "\r\nThe '.m' has no effect unless you have an error correcting modem.\r\n"
lput "\r\nAn 'h' in addition to '.m' requests that, if you have a USR Dual Standard Modem,"
lput "\r\nit is to accept HST mode but not V32 connection(e.g. '\045l-914-564-3342.mh'). This"
lput "\r\nwill provide 14400bps rather than 9600bps when caller and callee are both USR"
lput "\r\nDual Standard Modems but one or the other does not support V32bis. The 'h' has"
lput "\r\nno effect unless you have a USR Dual Standard Modem.\r\n\n"
set s2 "";while "!%s2||Cs2||ps2,1-" accept s2 "Telephone Number: "
addparity:
lput "\r\nParity:\r\n\n 0 - Mark\r\n 1 - Space\r\n 2 - Odd\r\n 3 - Even"
lput "\r\n 4 - None (Required for IBM Graphics)\r\n\r\n"
acceptl1 s0 "Choose one of the above: "
ife is0,0 set s3 7m goto addeparity;ife is0,1 set s3 7s goto addeparity
ife is0,2 set s3 7o goto addeparity;ife is0,3 set s3 7e goto addeparity
ife !is0,4 goback addparity
lput \r\n while !Js0,yn acceptl1 s0 "IBM Graphics(y/n)? "
ife is0,y set s3 8g;set s0 4;else set s3 8n
addeparity:
addboard:
lput "\r\nEnter Type:\r\n"
lput "\r\nPCBoard, RBBS, Wildcat, ForumPC, Genesis, Opus, Magpie, Rain, RRyder, SLBBS,"
lput "\r\nModulex, Odyssey, Unknown, TurboLearn\r\n\n"
set z0 0 set s4 , set s5 "" set s6 "" set s0
,pcboard,rbbs,wildcat,forumpc,genesis,opus,magpie,rain,rryder,slbbs,modulex,odyssey,unknown,turbolearn,
while "!%s4||Cs4||Js4,," acceptl s4 "Board Type: "
obey "set? z0 \042js0,,%s4,\042";if iz0,0 goback addboard
ife is4,modulex set s4 odyssey goto okb;if is4,turbolearn set s4 tlearn goto okb
if !is4,wildcat goto okb
wct:
lput "\r\nAreas to which Files may be Uploaded:\r\n\n"
wctarea:
set z1 "~" while "%z1&&!Jz1,abcdefghijklmnopqrstuvwxyz" acceptl1 z1 "File area: A-Z, (Enter)=done: "
ife !%z1 lput \r\n goto okb;set z2 "";while "%z2<3||%z2>8||Jz2,,;~" acceptl z2 "Short Description (3-8 chars): "
set z0 "~";ife %s6 set z0 ",";sets s6 "%s6%z0%z1:%z2" goback wctarea
okb:
set s5 "";while "!%s5||Cs5||Js5,~" accept s5 "\r\nName of BBS: "
kill; pv0; create -+ %phones
echof "%s1 ena -%s3 %s2 ife c gosub .\045lib/%s4.t;return \T:~%s5%s6"
ife r nolog close;echo "Entry Created";return